package bobochat.entity;

/**
 * @author shkstart
 * @create 2019-11-09 21:50
 */


public class ResultData {


   private  String status; //标志，给前端一个反馈  1
   private  String msg;  //对于status的描述   success
   private  Object data;  //返回给前端的数据，父类  object

public ResultData(String status,String msg,Object data){
    this.status=status;
    this.data=data;
    this.msg=msg;
}
public ResultData(String status,String msg){
        this.status=status;
        this.msg=msg;
    }
    public void setStatus(String status) {
        this.status = status;
    }
    public String getStatus() {
        return status;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public Object getData() {
        return data;
    }
}


